package com.example.magicapidemo.conf;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Service;

import java.util.List;

@Data
@Service
@RefreshScope
@ConfigurationProperties("test")
public class TestService {
    //    @Value("${test}")
    private String test;

    //    @Value("${tt}")
    private List<String> tt;


}
